WebPExpress\PathHelper A

Total Complexity 55
Dependencies 1
Dependents 15
Total lines 477
Lines of code 177
Logical lines of code 99
Comment lines 243
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
getRelPathFromDocRootToDirNoDirectoryTraversalAllowed()
A
50 9 31
getRelDir()
A
53 8 22
findClosestExistingFolderSymLinksExpanded()
S
58 5 16
isFilePathWithinDirPath()
S
58 5 15
isPathWithinExistingDirPath()
S
61 4 13
isDocRootAvailable()
S
66 3 9
fixAbsPathToUseUnresolvedDocRoot()
S
66 3 8
canonicalize()
S
61 2 11
canCalculateRelPathFromDocRootToDir()
S
67 2 8
isDocRootAvailableAndResolvable()
S
71 2 6
pathExistsAndIsResolvable()
S
71 2 6
pathToAbsPath()
S
69 2 7
frontslasher()
S
81 1 3
untrailSlash()
S
79 1 3
backslashesToForwardSlashes()
S
78 1 3
dirname()
S
78 1 3
basename()
S
75 1 4
relPathToAbsPath()
S
78 1 3
isAbsPath()
S
78 1 3
fixDoubleSlash()
S
78 1 3